using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication5.UILayer
{
    public partial class frmNuevosPrestadores : Form
    {
        public frmNuevosPrestadores()
        {
            InitializeComponent();
        }

        private void TSBnuevosPrestadores_Click(object sender, EventArgs e)
        {
            if (comboBox1.Text != "ELIJA PRESTADOR")
            {
                if (comboBox1.Text == "FARMACIAS")
                {
                    frmReporteNuevasFarmacias f = new frmReporteNuevasFarmacias();
                    f.AsignarDatos(dateTimePicker1.Value.ToString("dd/MM/yyyy"));
                    f.Show();
                    f.MdiParent = this.MdiParent;
                    this.Close();
                }
            }
        }
    }
}